SEB, SEW (Set Error Break, Set Error Warning) 

Syntax

SEB [[level]]
SEW [[level]]

Parameters

level

The error level required to break into the debugger (SEB) or display a message (SEW). One of the following:

 

Level

Triggered by

 

0

Nothing. Disables breaks or warnings.

 

1

Severe errors only.

 

2

All errors.

 

3

All warnings and errors.

 

 

Description

The SEB command causes the debugger to break after the debuggee causes a system error or warning of the appropriate level. The SEW command causes the debugger to display a message under these conditions. If you do not specify a level, the commands will default to level 1.

The SEB command implies an SEW level equal to or greater than its own level. For example, SEB 3 causes the debugger to give warnings at levels 1 - 3.

These errors are triggered by the WOW subsystem. They are known as RIPs from Win16 where they usually signal a fatal program error. They are often caused by passing a bad value to an API function.